home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.sprintlink.net!news1!news
- From: rclark@iquest.net (Robert B. Clark)
- Subject: Re: gets(rec->num); I don't know what I am doing wrong...
- X-Nntp-Posting-Host: ind-004-236-169.iquest.net
- Message-ID: <3129dbce.621860@news.iquest.net>
- Sender: news@iquest.net (News Admin)
- Organization: IQuest Internet, Inc.
- X-Newsreader: Forte Agent .99d/16.182
- References: <4fempt$mjg@aphex.direct.ca> <4ffhbo$qm4@news1.cle.ab.com>
- Date: Tue, 20 Feb 1996 15:44:55 GMT
-
- On Fri, 09 Feb 1996 16:14:33 GMT, don.phillips@ab.com (Donald-Anthony C.
- Phillips) wrote:
-
- >Part of your problem may be that gets() is defined as gets(char *s).
- >You are passing all sorts of values to gets(), i.e., gets(rec->id)
-
- Spot on.
-
- >Secondly, is FILE* fp the same as FILE *fp. It appears numerous
-
- Yes, it is.
-
- >I'm not real sure about your code, you may need to post the assign2.h
- >header which you include for greater clarity.
-
- He did, (I assume) in the text before the "assign.c" comment.
-
- --
- Robert B. Clark <rclark@iquest.net>
- "Be wary of strong spirits. It can make you shoot at tax collectors...
- and miss." --RAH
-